// 获取推荐新音乐
$.get('http://192.168.5.120:8089/personalized/newsong?limit=10', function (res) {
	// console.log(res);
	$.each(res.result, (index, item) => {
		// console.log(res);

		var artistsname = ''
		$.each(item.song.artists, (index, item) => artistsname = artistsname + item.name + ' / ')
		artistsname = artistsname.slice(0, -3)
		$('.latest-list-box').append(
			`	<a href = "Songdetails.html?id=${item.id}" >
				<div class="new-music">
					<div class="latest-list-left">
						<p class="music-title">${item.name}</p>
						<div class="music-text">
							<p class="Tone-quality"><!--这是音质的图标--></p>
							${artistsname} - ${item.song.album.name}
						</div>
					</div>
					<div class="latest-list-right">
						<div class="latest-right-img"></div>
					</div>
				</div>
			</a >
			`
		)
	})

})
